﻿using System;

using Moe.ECamel.Common.Contracts;
using Moe.ECamel.Common.Entities;

namespace Moe.ECamel.Client.ServiceProxies
{
	public class UserServiceProxy : ECamelServiceProxy<IUserService>, IUserService
	{
		public ECamelError CreateUser(User user)
		{
			return ServiceProxy.CreateUser(user);
		}

		public ECamelError UpdateUser(User user)
		{
			return ServiceProxy.UpdateUser(user);
		}

		public ECamelError ChangeUserPassword(int userId, byte[] oldPassword, byte[] newPassword)
		{
			return ServiceProxy.ChangeUserPassword(userId, oldPassword, newPassword);
		}
	}
}
